

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Resize Elements [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Resize,Resize Element,Resize Element By Increments,Resize Multiple Elements,Element,Element Size,Element Resize">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Resize Elements</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="alignelements.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="deletingobjects.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">Any one of the following options enables you to resize an element. Select an element or group of elements in the diagram view, then:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">Use the resize handles that appear at each corner and side to resize the element(s) by dragging with the mouse (the cursor switches to the double-ended arrow as shown below)</span><br>
<span class="f_Bulletlist1">&nbsp;</span><br>
<img src="resizeelement.png" width="150" height="132" border="0" alt="ResizeElement"><br>
<span class="f_Bulletlist1">&nbsp;</span></li>
<li><span class="f_Bulletlist1">Press and hold </span><span class="f_MenuKeyField">[Ctrl]</span><span class="f_Bulletlist1"> and use the arrow keys to resize by increments as required</span></li>
<li><span class="f_Bulletlist1">Use the </span><span class="f_MenuKeyField">Wider</span><span class="f_Bulletlist1">, </span><span class="f_MenuKeyField">Narrower</span><span class="f_Bulletlist1">, </span><span class="f_MenuKeyField">Taller</span><span class="f_Bulletlist1"> and </span><span class="f_MenuKeyField">Shorter</span><span class="f_Bulletlist1"> options in the </span><span class="f_MenuKeyField">Element | Move</span><span class="f_Bulletlist1"> submenu</span></li>
<li><span class="f_Bulletlist1">Autosize selected element(s) using the option in the </span><span class="f_MenuKeyField">Element | Appearance</span><span class="f_Bulletlist1"> submenu, or by pressing</span><span class="f_MenuKeyField"> [Alt]+[Z]</span><span class="f_Bulletlist1">. (With multiple elements selected, </span><span class="f_MenuKeyField">Autosize </span><span class="f_Bulletlist1">also appears in the right-click context menu)</span></li>
<li><span class="f_Bulletlist1">Set multiple elements to the same height, width or both, using these options in the </span><span class="f_MenuKeyField">Element | Make Same</span><span class="f_Bulletlist1"> submenu, or the options in the right-click context menu.</span></li>
</ul>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Resize a Set of Objects to a Specific Size</span></p>
<p class="p_BodyText"><span class="f_BodyText">If you right-click a selected set of objects, you can resize them to the same dimensions (height, width or both). When you select multiple elements using </span><span class="f_MenuKeyField">[Ctrl]+</span><span class="f_BodyText">click, then resize the dimensions, the dimensions of the selected hatched object are used to set the dimensions of the other selected objects.</span></p>
<p class="p_BodyText"><span class="f_BodyText">For example, in the diagram below, the </span><span class="f_BodyText" style="font-style: italic;">Message</span><span class="f_BodyText"> Class height and width are used to set the height and width of the </span><span class="f_BodyText" style="font-style: italic;">Account</span><span class="f_BodyText"> and </span><span class="f_BodyText" style="font-style: italic;">Message Folder</span><span class="f_BodyText"> Classes. The aim is to make the </span><span class="f_BodyText" style="font-style: italic;">Account</span><span class="f_BodyText"> and </span><span class="f_BodyText" style="font-style: italic;">Message Folder</span><span class="f_BodyText"> elements the same height and width as the </span><span class="f_BodyText" style="font-style: italic;">Message</span><span class="f_BodyText"> element.</span></p>
<p class="p_TextIndentedL2"><img src="resizeelementselected.png" width="190" height="387" border="0" alt="ResizeElementSelected"></p>
<p class="p_BodyText"><span class="f_BodyText">To do this follow the steps below:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=1><span class="f_NumberedList">Set one element to the required size (e.g. </span><span class="f_NumberedList" style="font-style: italic;">Message</span><span class="f_NumberedList"> as above).</span></li>
<li value=2><span class="f_NumberedList">Select all other elements (e.g. </span><span class="f_NumberedList" style="font-style: italic;">Account</span><span class="f_NumberedList"> and </span><span class="f_NumberedList" style="font-style: italic;">Message Folder</span><span class="f_NumberedList"> as above).</span></li>
<li value=3><span class="f_NumberedList">Right-click on the pre-sized element (e.g. </span><span class="f_NumberedList" style="font-style: italic;">Message</span><span class="f_NumberedList">).</span></li>
<li value=4><span class="f_NumberedList">Select your resizing option (such as same height, width) from the context menu.</span></li>
</ol>
<p class="p_SeeAlso"><span class="f_SeeAlso">See Also</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1"><a href="highlightcontextelement.htm">Highlight Context Element</a></span></li>
</ul>




            </div>
          </div>
        </div>



</div>


</body>
</html>
